package com.runoob;

/**
 * 支持状态运转的环境
 */
public class Context {
    private State state;

    public Context() {
        state = null;
    }

    //region getset方法
    public void setState(State state) {
        this.state = state;
    }

    public State getState() {
        return state;
    }
    //endregion
}